﻿using Manhua3.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manhua3.DataModel
{
    public class Chapter : BindableBase
    {
        public int ComicId { get; set; }
        public int ChapterId { get; set; }

        private string _comicTitle;
        public string ComicTitle
        {
            get { return this._comicTitle; }
            set { this.SetProperty(ref this._comicTitle, value); }
        }

        private string _chapterTitle;
        public string ChapterTitle
        {
            get { return this._chapterTitle; }
            set { this.SetProperty(ref this._chapterTitle, value); }
        }

        private int _totalPage;
        public int TotalPage
        {
            get { return this._totalPage; }
            set { this.SetProperty(ref this._totalPage, value); }
        }

        private List<ComicPage> _page;
        public List<ComicPage> Pages
        {
            get { return _page; }
            set { this.SetProperty(ref this._page, value); }
        }
    }
}
